<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>  

<h2>Administration</h2>

<a href="<c:url value="base.create" />">Créer une nouvelle base</a>
<table>
    <thead>
    <tr>
        <td>ID</td>
        <td>Année</td>
        <td>Etablissement</td>
        <td>Créee le</td>
        <td>Fermée le</td>
        <td>
            
        </td>
    </tr>
    </thead>
    <tbody>
        <c:forEach items="${bases}" var="base">
        <tr>
            <td>${base.id}</td>
            <td>${base.annee}</td>
            <td>${base.etablissement}</td>
            <td></td>
            <td></td>
            <td>

            </td>
        </tr>
        </c:forEach>
    </tbody>
</table>
